package com.example.delay.listener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.Serializable;

/*
 * @className: DefaultJobListener
 * @author: chentao
 * @date: 2025/2/20 下午1:39
 * @Version: 1.0
 * @description:
 */
public class DefaultJobListener implements JobListener, Serializable {

    Logger logger = LoggerFactory.getLogger(getClass());

    @Override
    public void before(Class jobClass, String jobId) {
        //logger.warn("延时任务执行前操作: " + jobClass.getName() + ", jobId: " + jobId);
    }

    @Override
    public void after(Class jobClass, String jobId) {
        // logger.warn("延时任务执行后操作: " + jobClass.getName() + ", jobId: " + jobId);
    }

}
